package cn.bdqn.service.impl;

import cn.bdqn.dao.SignMapper;
import cn.bdqn.pojo.Integral;
import cn.bdqn.service.SignService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;

/**
 * @author 小涛
 * @date: 2020/7/18 8:44
 */
@Service
public class SignServiceImpl implements SignService {


    @Autowired
    SignMapper signMapper;


    @Override
    public List<Integral> getIntegralAll1(int employessid, String describe) {
        return signMapper.getIntegralAll1(employessid, describe);
    }

    @Override
    public int addSign(Integral integral) {
        return signMapper.addSign(integral);
    }

    @Override
    public int addIntegralAll1(int employessid, String describe, Date createtime) {
        return signMapper.addIntegralAll1(employessid, describe, createtime);
    }
}
